import { PullToRefresh } from "antd-mobile"
import { sleep } from "antd-mobile/es/utils/sleep"
import React, { useEffect } from "react"
import AfterSaleCard from "../components/aftersale-card"

const AfterSaleList:React.FC = () => {
    return(
        <PullToRefresh
            onRefresh={async () => {
                await sleep(1000)
            }}
        >
            <AfterSaleCard />
        </PullToRefresh>
    )
}

export default AfterSaleList